package com.itheima.qiniuyun;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
//@Configuration //这里不应该加这个注释
@ConfigurationProperties(prefix = "qiniu")
public class QiniuyunKodoConfig {
    private String accessKey;
    private String accessSecretKey;
    private String bucket;
    private String url;
}
